//
//  ViewController.m
//  JCIndicatorView
//
//  Created by chun on 2018/5/13.
//  Copyright © 2018年 JC. All rights reserved.
//

#import "ViewController.h"
#import "JCIndicatorView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];

}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];

    [JCIndicatorView showIndicatorActivity];
}

- (void)viewDidLoad {
    [super viewDidLoad];

    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [JCIndicatorView hideIndicatorActivity];

    });
    
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
